From 75afc21fecc76492d275a88c976adab0408f74bc Mon Sep 17 00:00:00 2001 From: "cl349@freefall.cl.cam.ac.uk" Date: Thu, 11 Nov 2004 16:12:10 +0000 Subject: [PATCH] bitkeeper revision 1.1159.1.411 (41938f5atLOST7mvpvTjqYngsCYHOg) Route physical IRQs to the processor which is running the domain requesting the IRQ. --- xen/arch/x86/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/irq.c b/xen/arch/x86/irq.c index 0e4f286938..fab2de6ad6 100644 --- a/xen/arch/x86/irq.c +++ b/xen/arch/x86/irq.c @@ -280,7 +280,7 @@ int pirq_guest_bind(struct exec_domain *ed, int irq, int will_share) /* Attempt to bind the interrupt target to the correct CPU. */ if ( desc->handler->set_affinity != NULL ) desc->handler->set_affinity( - irq, apicid_to_phys_cpu_present(d->exec_domain[0]->processor)); + irq, apicid_to_phys_cpu_present(ed->processor)); } else if ( !will_share || !action->shareable ) { -- 2.30.2